<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="contain">
    <h1 class="info"><a href="/student/index/">学生列表</a></h1>
    <hr class="divider">
    <!--添加学生，导出学生列表，过滤查询-->
    <br>
    <table class="table">
        <tr class="thead-dark">
            <th>#</th>
            <th>学号</th>
            <th>姓名</th>
            <th>年龄</th>
            <th>性别</th>
            <th>电话</th>
            <th>头像</th>
            <th>加入时间</th>
            <th>操作</th>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    </table>
    <script>
        //ajax请求
        //伪代码
        for stu in student_list():
        create tr=
            tr.td = stu.name
            tr.age = stu.age
            table_obj.lastChild = tr
    </script>
</div>
</body>
</html>